package org.example.feign;

import org.example.common.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author WN
 * @date：2024/03/25 13:52
 */
@FeignClient("http://localhost:8080/")
public interface ProviderFeign {

    @RequestMapping(value = "hi", method = RequestMethod.GET)
    CommonResult<String> provider();
}
